﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature id="SecurePages" name="Setup and management SSL for some or all of the pages within a web site">
	<BusinessRules>
		<BusinessRule name="getSecurePages" security="disabled">
			<Option value="$SyrinxRemoteTier$">
				<RemoteRule url="$SyrinxRemoteTier$" />
				<LocalClass name="Syrinx.SecurePagesBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="updateSecurePage" security="disabled">
			<Option value="$SyrinxRemoteTier$">
				<RemoteRule url="$SyrinxRemoteTier$" />
				<LocalClass name="Syrinx.SecurePagesBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="deleteSecurePage" security="disabled">
			<Option value="$SyrinxRemoteTier$">
				<RemoteRule url="$SyrinxRemoteTier$" />
				<LocalClass name="Syrinx.SecurePagesBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="isSecurePage" security="disabled">
			<Option value="$SyrinxRemoteTier$">
				<RemoteRule url="$SyrinxRemoteTier$" />
				<LocalClass name="Syrinx.SecurePagesBizRules,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>

	<BusinessRules>
		<BusinessRule name="getSecurePagesCompanySettingsTemplate" security="disabled" postExtends="getCompanySettingsDisplayTemplate">
			<Option value="$SyrinxRemoteTier$">
				<RemoteRule url="$SyrinxRemoteTier$" />
				<LocalClass name="Syrinx.SecurePagesBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getSecurePagesCompanySettingsDbFields" security="disabled" postExtends="getCompanySettingsDbFields">
			<Option value="$SyrinxRemoteTier$">
				<RemoteRule url="$SyrinxRemoteTier$" />
				<LocalClass name="Syrinx.SecurePagesBizRules,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>
		
	<BusinessObjects>
		<BusinessObject type="SecurePage" key="id">
			<Field name="id" type="Guid"><NULL /></Field>
			<Field name="companyId" type="Guid" />
			<Field name="pageName" type="String" />
		</BusinessObject>
		
		<BusinessObject injects="CompanySettings">
			<Field name="useSslOnAllPages" type="Boolean" />
		</BusinessObject>
	</BusinessObjects>

	<ApplicationFunctions id="PageSecurity" description="Site Page Security Management">
		<AppFunction id="ManagePageSecurity" description="Manage Page Security" />
	</ApplicationFunctions>

	<ClassFactory id="BizProcs">
		<Class type="Syrinx.Gui.SecurePagesManagementBizProc,ScsCore" name="securePageManagement"/>
	</ClassFactory>
</Feature>